package ch1;

import java.util.Scanner;

public class Zuoye03043 {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        System.out.println("请输入一个数");
        double a = scan.nextDouble();
        if (a % 7 == 0 && a != 0) {
            System.out.println("这个数是7的倍数");
        } else {
            System.out.println("这个数不是7的倍数");
        }
    }
}
